package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzhc.entity.SysAuth;
import com.hzhc.vo.SysAuthVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 车辆预约-预约授权 Mapper 接口
 * </p>
 *
 * @author 1
 * @since 2024-09-29
 */
@Mapper
public interface SysAuthMapper extends BaseMapper<SysAuth> {

    List<SysAuth> getAuthToCom(@Param("vo") SysAuthVo vo);

    List<String> selectByAuth(@Param("companyId") Long companyId,@Param("orderType") String orderType);

    SysAuth getSlaveByOrderNo(@Param("orderNo") String orderNo);

}
